﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SignMasterPage.master" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="register form-sign">

        <h2>Đăng ký</h2>

        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ForeColor="Red" ValidationGroup="RegisterForm" ErrorMessage="Không được để trống!" ControlToValidate="txtFirstName" runat="server" /><br />
        <asp:TextBox ID="txtFirstName" CssClass="text-field" placeholder="Họ" runat="server" /><br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ForeColor="Red" ValidationGroup="RegisterForm" ErrorMessage="Không được để trống!" ControlToValidate="txtLastName" runat="server" /><br />
        <asp:TextBox ID="txtLastName" CssClass="text-field" placeholder="Tên" runat="server" /><br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ForeColor="Red" ValidationGroup="RegisterForm" ErrorMessage="Không được để trống!" ControlToValidate="txtUserName" runat="server" /><br />
        <asp:TextBox ID="txtUserName" CssClass="text-field" placeholder="Tên đăng nhập" runat="server" /><br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ForeColor="Red" ValidationGroup="RegisterForm" ErrorMessage="Không được để trống!" ControlToValidate="txtEmail" runat="server" /><br />
        <asp:TextBox ID="txtEmail" CssClass="text-field" placeholder="Email" runat="server" /><br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ForeColor="Red" ValidationGroup="RegisterForm" ErrorMessage="Không được để trống!" ControlToValidate="txtPassword" runat="server" /><br />
        <asp:TextBox ID="txtPassword" TextMode="Password" CssClass="text-field" placeholder="Mật khẩu" runat="server" /><br />
        <asp:CompareValidator ID="RequiredFieldValidator6" ValidationGroup="RegisterForm" Width="100%" Height="16px" ForeColor="Red" ErrorMessage="Mật khẩu không trùng khớp" ControlToCompare="txtPassword" ControlToValidate="txtRePassword" runat="server" /><br />
        <asp:TextBox ID="txtRePassword" TextMode="Password" CssClass="text-field" placeholder="Nhập lại mật khẩu" runat="server" /><br />
        <asp:Label Text="" ForeColor="Red" ID="lblError" runat="server" /><br />
        <asp:Button Text="Đăng ký" CssClass="button" ID="btnRegister" ValidationGroup="RegisterForm" OnClick="btnRegister_Click" runat="server" />
    </div>

</asp:Content>

